package com.exam.system.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName ExamPaperQuestionDao
 * @Description 题目试卷中间表
 * @Author ckl
 * @DATE 2021/6/2 23:42
 * @versions 1.0
 */
@Component
public interface ExamPaperQuestionDao {
    void addExamPaperQuestionByQuesId(@Param("paperId") Integer paperId,@Param("quesIdList") List<Integer> quesIdList);

    // 根据试卷id删除所有的题目
    void delExamPaperQuestionByPaperId(Integer id);
}
